#!/bin/sh
echo "Searching country codes for ips:"
for i in `cat ./ips.txt` ; do
echo -n "$i :" && geoiplookup $i | sort -u | sed 's|GeoIP Country Edition:||g' | uniq
done
